﻿using System;
using System.Windows.Forms;

namespace YJKArch.Ramp
{
	public class MyDataGridView : DataGridView
	{
		protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
		{
			if (keyData == Keys.Return)
			{
				this.OnKeyPress(new KeyPressEventArgs('r'));
				return true;
			}
			return base.ProcessCmdKey(ref msg, keyData);
		}
	}
}
